LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE   := -llog
LOCAL_MODULE := libtty

LOCAL_C_INCLUDES += .  ../include \
				   ../dsp_fx/jni 	   

LOCAL_LDLIBS += ../3libs/libdsp40.a 

LOCAL_SRC_FILES := bdo2dit.c dit2a.c ttystate.c tone_gen.c tty_bit.c tty_char.c tty_dbg.c tty_dec.c tty_enc.c tty_gen.c tty_glob.c tty_hdr.c tty_rate.c 

LOCAL_SRC_FILES += ../../dsp_fx/jni/basic_op40.c

LOCAL_CFLAGS += -Wall -O3 -mfpu=neon -mfloat-abi=softfp -flax-vector-conversions -march=armeabi-v7a  

include $(BUILD_STATIC_LIBRARY)
